<html></html>

<head>
    <meta charset="UTF-8">
    <title>v-model</title>
</head>

<body>
    <div id="app">
        <input type="text" v-model.trim="message">
    </div>
    <script src="https://cdn.bootcdn.net/ajax/libs/vue/3.0.2/vue.global.prod.js"></script>
    <script>
        const vm = Vue.createApp({
            data() {
                return {
                    message: 'Hello World'
                }
            }
        }).mount(' #app');
    </script>
</body>

</html>